import React from 'react';

class Search extends React.Component {
	constructor(props) {
	  super(props);
	}

	submit() {

	}

	render() {
		return (
			<div className={"search_"+this.props.class}>
				<form onSubmit={this.submit}>
					<input type="text" placeholder={this.props.placeholder} />
					<input type="submit" value="查询" />
				</form>
			</div>
		);
	}
}

export default Search;